home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2098 / 2098.xpi / chrome / updatenotifier.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2009-07-05  |  6KB  |  213 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://updatenotifier/skin/overlay.css" type="text/css"?>
  4.  
  5. <!-- 
  6.   Update Notifier
  7.   By Todd Long <longfocus@gmail.com>
  8.   http://www.longfocus.com/firefox/updatenotifier/
  9.  -->
  10.  
  11. <!DOCTYPE window SYSTEM "chrome://updatenotifier/locale/updatenotifier.dtd">
  12.  
  13. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.         id="un-options"
  15.         title="&opts-title;"
  16.         persist="screenX, screenY"
  17.         oncommand="UN_gOptions.onAction(event);"
  18.         onload="UN_gOptions.load();">
  19.         
  20.     <script type="application/x-javascript" src="chrome://updatenotifier/content/options.js"/>
  21.     <script type="application/x-javascript" src="chrome://updatenotifier/content/utils.js"/>
  22.     
  23.     <keyset>
  24.         <key keycode="VK_ESCAPE" oncommand="window.close();"/>
  25.         <key keycode="VK_RETURN" oncommand="UN_gOptions.buttonOK();"/>
  26.     </keyset>
  27.     
  28.     <hbox id="un-options-header">    
  29.         <label class="dialogheader-title"
  30.             value="&ext-name;"
  31.             flex="1"/>
  32.             
  33.         <label id="un-options-header-description"/>
  34.     </hbox>
  35.     
  36.     <tabbox orient="vertical" flex="1">
  37.         <tabs>
  38.             <tab label="&opts-general;"/>
  39.             <tab label="&opts-toolbar;"/>
  40.             <tab label="&opts-notifications;"/>
  41.             <tab label="&opts-help;"/>
  42.         </tabs>
  43.         
  44.         <tabpanels>
  45.             <tabpanel orient="vertical">
  46.                 <groupbox>
  47.                     <caption label="&opts-general-startup.caption;"
  48.                             collapsed="true"/>
  49.                             
  50.                     <checkbox id="un-options-general-startup-check"/>
  51.                     
  52.                     <checkbox id="un-options-general-restart-prompt"/>
  53.                     
  54.                     <hbox class="un-indent"
  55.                         align="center"
  56.                         collapsed="true">
  57.                         
  58.                         <label value="Delay checking for updates by:"/>
  59.                         
  60.                         <menulist flex="1"
  61.                                 sizetopopup="none">
  62.                                 
  63.                             <menupopup>
  64.                                 <menuitem label="5 seconds"/>
  65.                                 <menuitem label="15 seconds"/>
  66.                                 <menuitem label="30 seconds"/>
  67.                                 <menuitem label="45 seconds"/>
  68.                             </menupopup>
  69.                         </menulist>
  70.                     </hbox>
  71.                 </groupbox>
  72.                 
  73.                 <groupbox>
  74.                     <caption label="&opts-general-install.caption;"/>
  75.                     
  76.                     <checkbox id="un-options-general-auto-install"
  77.                             label="&opts-general-install.checkbox;"/>
  78.                             
  79.                     <checkbox id="un-options-general-auto-restart"/>
  80.                 </groupbox>
  81.             </tabpanel>
  82.             
  83.             <tabpanel orient="vertical">
  84.                 <groupbox>
  85.                     <caption label="&opts-toolbar-display.caption;"/>
  86.                     
  87.                     <checkbox id="un-options-toolbar-icon-display"
  88.                             label="&opts-toolbar-display.checkbox;"/>
  89.                 </groupbox>
  90.                 
  91.                 <groupbox>
  92.                     <caption label="&opts-toolbar-statusbar.caption;"/>
  93.                     
  94.                     <checkbox id="un-options-toolbar-statusbar"
  95.                             label="&opts-toolbar-statusbar-display;"/>
  96.                             
  97.                     <radiogroup id="un-options-toolbar-statusbar-radiogroup"
  98.                                 class="un-indent">
  99.                                 
  100.                         <radio id="un-options-toolbar-statusbar-always-last-radio"
  101.                             label="&opts-toolbar-statusbar-last;"
  102.                             selected="true"/>
  103.                             
  104.                         <hbox align="center">
  105.                             <radio id="un-options-toolbar-statusbar-position-radio"
  106.                                 label="&opts-toolbar-statusbar-position;"/>
  107.                                 
  108.                             <textbox id="un-options-toolbar-statusbar-position-textbox"
  109.                                     width="35px"
  110.                                     maxlength="2"
  111.                                     error="false"/>
  112.                                     
  113.                             <label id="un-options-toolbar-statusbar-position-range"
  114.                                 hidden="true"
  115.                                 style="color:darkred;"/>
  116.                         </hbox>
  117.                     </radiogroup>
  118.                 </groupbox>
  119.             </tabpanel>
  120.             
  121.             <tabpanel orient="vertical">
  122.                 <groupbox>
  123.                     <caption label="&opts-notifications-interval.caption;"/>
  124.                     
  125.                     <checkbox id="un-options-notifications-set-interval"/>
  126.                     
  127.                     <hbox class="un-indent"
  128.                         align="center">
  129.                         
  130.                         <label id="un-options-notifications-interval-label"
  131.                             value="&opts-notifications-interval-every;"/>
  132.                             
  133.                         <menulist id="un-options-notifications-interval-menulist"
  134.                                 flex="1"
  135.                                 sizetopopup="none">
  136.                                 
  137.                             <menupopup id="un-options-notifications-interval-hours"/>
  138.                         </menulist>
  139.                     </hbox>
  140.                 </groupbox>
  141.                 
  142.                 <groupbox id="un-options-notifications-alerts">
  143.                     <caption label="&opts-notifications-alerts;"/>
  144.                     
  145.                     <checkbox id="un-options-notifications-alerts-display"
  146.                         label="&opts-notifications-alerts-display;"/>
  147.                 </groupbox>
  148.             </tabpanel>
  149.             
  150.             <tabpanel orient="vertical">
  151.                 <groupbox>
  152.                     <caption label="&opts-help-quick;"/>
  153.                     
  154.                     <grid id="un-options-help-grid" flex="1">
  155.                         <columns>
  156.                             <column />
  157.                             <column flex="1"/>
  158.                         </columns>
  159.                         
  160.                         <rows>
  161.                             <row>
  162.                                 <image class="un-icons"
  163.                                     icon="extension"/>
  164.                                     
  165.                                 <label value="&opts-help-extension;"/>
  166.                             </row>
  167.                             <row>
  168.                                 <image class="un-icons"
  169.                                     icon="theme"/>
  170.                                     
  171.                                 <label value="&opts-help-theme;"/>
  172.                             </row>
  173.                             <row>
  174.                                 <image class="un-icons"
  175.                                     icon="restart"/>
  176.                                     
  177.                                 <label value="&opts-help-restart;"/>
  178.                             </row>
  179.                             <row>
  180.                                 <image class="un-icons"
  181.                                     icon="none"/>
  182.                                     
  183.                                 <label value="&opts-help-none;"/>
  184.                             </row>
  185.                         </rows>
  186.                     </grid>
  187.                 </groupbox>
  188.                 
  189.                 <groupbox>
  190.                     <caption label="&opts-help-about;"/>
  191.                     
  192.                     <label class="un-link"
  193.                         value="&opts-help-homepage;"
  194.                         onclick="UN_visitSite(UN_WEBSITE);"/>
  195.                 </groupbox>
  196.             </tabpanel>
  197.         </tabpanels>
  198.     </tabbox>
  199.     
  200.     <hbox id="un-footer">
  201.         <button label="&btn-defaults;"
  202.                 oncommand="UN_gOptions.loadDefaults();"/>
  203.                 
  204.         <hbox align="right" flex="1">
  205.             <button label="&btn-ok;"
  206.                     default="true"
  207.                     oncommand="UN_gOptions.buttonOK();"/>
  208.                     
  209.             <button label="&btn-cancel;"
  210.                     oncommand="window.close();"/>
  211.         </hbox>
  212.     </hbox>
  213. </window>